package com.java.excend.test_1;

/**
 * @author luzhikun
 * @date 2020/12/5- 19:17
 */
public class CylinderTest {
    public static void main(String[] args) {
        Cylinder cylinder = new Cylinder();
        cylinder.setRadius(7.5555);
        cylinder.setLength(2);
        double a = cylinder.area();
        double c = cylinder.findVuluem();
        System.out.println("圆柱体的底面积为：" + a + "          圆柱体的体积为：" + c);
    }
}
